package com.imagine.entity.vo;

/**
 * Created by liangyue on 2017/11/1.
 */
public class AccountStockVo {
    private String securityId; //证券代码
    private String securityName;//证券名称
    private int stockNum;//持仓数量
    private int usableNum;//可用数量
    private double newPrice;//市价
    private double newMarketValue;//最新市值

    public AccountStockVo() {
    }

    public AccountStockVo(String securityId, String securityName, int stockNum, int usableNum, double newPrice, double newMarketValue) {
        this.securityId = securityId;
        this.securityName = securityName;
        this.stockNum = stockNum;
        this.usableNum = usableNum;
        this.newPrice = newPrice;
        this.newMarketValue = newMarketValue;
    }

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public int getStockNum() {
        return stockNum;
    }

    public void setStockNum(int stockNum) {
        this.stockNum = stockNum;
    }

    public int getUsableNum() {
        return usableNum;
    }

    public void setUsableNum(int usableNum) {
        this.usableNum = usableNum;
    }

    public double getNewPrice() {
        return newPrice;
    }

    public void setNewPrice(double newPrice) {
        this.newPrice = newPrice;
    }

    public double getNewMarketValue() {
        return newMarketValue;
    }

    public void setNewMarketValue(double newMarketValue) {
        this.newMarketValue = newMarketValue;
    }

    @Override
    public String toString() {
        return "AccountStockVo{" +
                "securityId='" + securityId + '\'' +
                ", securityName='" + securityName + '\'' +
                ", stockNum=" + stockNum +
                ", usableNum=" + usableNum +
                ", newPrice=" + newPrice +
                ", newMarketValue=" + newMarketValue +
                '}';
    }
}